<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_image
 * @copyright	Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
$count=0;
	echo "<table><tr>";

 for($i=0;$i<6;$i++)
 {
  if($image[$i] != NULL)
  {
   echo "<td><a href='$url[$i]'> <img src='$image[$i]' width='$width' height='$height' /> </a></td>";
   if($count % $col == $col-1)
    echo "</tr><tr>";
   $count++;
  }
 }
 echo "</tr></table>";
?>

